package ocl;

import metamodels.VariableDeclarationList;

public class LetExpression extends OclExpression {

	VariableDeclarationList list;
	OclExpression exp;
	
	public LetExpression(VariableDeclarationList variableDeclarationList,
			OclExpression oclExpression) {
		this.list = variableDeclarationList;
		this.exp = oclExpression;
	}

	@Override
	public String toK() {
		return "let "  + list + " = " + exp.toK();
	}
}
